package com.bsoft.gol.hcs.specialist.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

@Entity
@Table(name = "fus_crucial_index_record")
public class FusCrucialIndexRecord  implements Serializable {

    private String indexId;
    private String organizationId;
    private String organizationName;
    private String indexType;
    private String indexName;
    private String pinyinCode;
    /**
     * 指标编码
     */
    private String indexCode;


    //监测指标代码
    private String hpiCode;
    //健康指标是否启用
    private String hpiStatus;

    /**
     * 指标英文缩写
     */
    private String indexAbbreviation;
    /**
     * 样本类型
     */
    private String sampleType;
    /**
     * 样本名称
     */
    private String sampleName;
    private String indexStatus;
    private String indexClassifyId;
    private String indexClassifyName;
//    private String businessId;
//    private String businessName;
//    private String businessIndexId;
//    private String businessIndexName;
    private String unit;
    private String significantDigits;
    private String description;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",locale = "zh_CN", timezone = "GMT+8")
    private Date createTime;
    private String modifyId;
    private String modifyUsername;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",locale = "zh_CN", timezone = "GMT+8")
    private Date modifyDt;
    //默认内置指标 0 非默认指标  1 默认指标
    private String indexDefault;
    //结果性质类型  结果性质 1 定量 2 阴阳性 3 数量（-+）4 清洁度 5 血型 6 颜色 7 透明度 8 文本 9 其他
    private String indexResultType;
    //结果性质类型名称
    private String indexResultName;


    @Id
    @Column(name = "index_id")
    public String getIndexId() {
        return indexId;
    }

    public void setIndexId(String indexId) {
        this.indexId = indexId;
    }
    @Basic
    @Column(name = "index_code")
    public String getIndexCode() {
        return indexCode;
    }

    public void setIndexCode(String indexCode) {
        this.indexCode = indexCode;
    }
    @Basic
    @Column(name = "index_abbreviation")
    public String getIndexAbbreviation() {
        return indexAbbreviation;
    }

    public void setIndexAbbreviation(String indexAbbreviation) {
        this.indexAbbreviation = indexAbbreviation;
    }
    @Basic
    @Column(name = "sample_type")
    public String getSampleType() {
        return sampleType;
    }

    public void setSampleType(String sampleType) {
        this.sampleType = sampleType;
    }
    @Basic
    @Column(name = "sample_name")
    public String getSampleName() {
        return sampleName;
    }

    public void setSampleName(String sampleName) {
        this.sampleName = sampleName;
    }

    @Basic
    @Column(name = "organization_id")
    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    @Basic
    @Column(name = "organization_name")
    public String getOrganizationName() {
        return organizationName;
    }

    public void setOrganizationName(String organizationName) {
        this.organizationName = organizationName;
    }

    @Basic
    @Column(name = "index_type")
    public String getIndexType() {
        return indexType;
    }

    public void setIndexType(String indexType) {
        this.indexType = indexType;
    }

    @Basic
    @Column(name = "index_name")
    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    @Basic
    @Column(name = "pinyin_code")
    public String getPinyinCode() {
        return pinyinCode;
    }

    public void setPinyinCode(String pinyinCode) {
        this.pinyinCode = pinyinCode;
    }

    @Basic
    @Column(name = "index_status")
    public String getIndexStatus() {
        return indexStatus;
    }

    public void setIndexStatus(String indexStatus) {
        this.indexStatus = indexStatus;
    }

    @Basic
    @Column(name = "index_classify_id")
    public String getIndexClassifyId() {
        return indexClassifyId;
    }

    public void setIndexClassifyId(String indexClassifyId) {
        this.indexClassifyId = indexClassifyId;
    }

    @Basic
    @Column(name = "index_classify_name")
    public String getIndexClassifyName() {
        return indexClassifyName;
    }

    public void setIndexClassifyName(String indexClassifyName) {
        this.indexClassifyName = indexClassifyName;
    }

    @Basic
    @Column(name = "unit")
    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    @Basic
    @Column(name = "significant_digits")
    public String getSignificantDigits() {
        return significantDigits;
    }

    public void setSignificantDigits(String significantDigits) {
        this.significantDigits = significantDigits;
    }

    @Basic
    @Column(name = "description")
    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Basic
    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "hpi_code")
    public String getHpiCode() {
        return hpiCode;
    }

    public void setHpiCode(String hpiCode) {
        this.hpiCode = hpiCode;
    }

    @Basic
    @Column(name = "hpi_status")
    public String getHpiStatus() {
        return hpiStatus;
    }

    public void setHpiStatus(String hpiStatus) {
        this.hpiStatus = hpiStatus;
    }
    @Basic
    @Column(name = "modify_id")
    public String getModifyId() {
        return modifyId;
    }

    public void setModifyId(String modifyId) {
        this.modifyId = modifyId;
    }
    @Basic
    @Column(name = "modify_username")
    public String getModifyUsername() {
        return modifyUsername;
    }

    public void setModifyUsername(String modifyUsername) {
        this.modifyUsername = modifyUsername;
    }
    @Basic
    @Column(name = "modify_dt")
    public Date getModifyDt() {
        return modifyDt;
    }

    public void setModifyDt(Date modifyDt) {
        this.modifyDt = modifyDt;
    }
    @Basic
    @Column(name = "index_default")
    public String getIndexDefault() {
        return indexDefault;
    }

    public void setIndexDefault(String indexDefault) {
        this.indexDefault = indexDefault;
    }

    @Basic
    @Column(name = "index_result_type")
    public String getIndexResultType() {
        return indexResultType;
    }

    public void setIndexResultType(String indexResultType) {
        this.indexResultType = indexResultType;
    }

    @Basic
    @Column(name = "index_result_name")
    public String getIndexResultName() {
        return indexResultName;
    }

    public void setIndexResultName(String indexResultName) {
        this.indexResultName = indexResultName;
    }
}
